package com.yl.demo.base.common;


import lombok.Getter;

/**
 * Created by toshiba on 2020/5/19.
 * 配置主从数据库连接
 */
@Getter
public enum DynamicDataSourceEnum {

    MASTER("master"),
    SLAVE("slave");

    private String dataSourceName;

    DynamicDataSourceEnum(String dataSourceName) {
        this.dataSourceName = dataSourceName;
    }


}
